From 233e0290d209afe3f4bcb62164fd0ec16396bcb5 Mon Sep 17 00:00:00 2001 From: Christoph Burgdorf Date: Fri, 11 Jul 2014 21:43:13 +0200 Subject: [PATCH] list `clean` command in help --- src/bin/cargo.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/cargo.rs b/src/bin/cargo.rs index 3be5ec817..8379a85eb 100644 --- a/src/bin/cargo.rs +++ b/src/bin/cargo.rs @@ -50,7 +50,9 @@ fn execute() { "--help" | "-h" | "help" | "-?" => { println!("Commands:"); println!(" build # compile the current project"); - println!(" test # run the tests\n"); + println!(" test # run the tests"); + println!(" clean # remove the target directory\n"); + let (_, options) = hammer::usage::(false); println!("Options (for all commands):\n\n{}", options); -- 2.30.2